package com.lvtulife.common.component.exception;


public enum ErrMsg {
    OPERATION_FAILURE("操作失败"),
    OPERATION_INVALID("操作无效"),
    PERMISSION_DENIED("操作权限不足"),
    NO_OBJECT("对象不存在"),
    NO_CONTENT("核心内容不存在"),
    INVALID_CONTENT("内容无效,不在有效值范围内"),
    EXIST_CONTENT("内容重复");

    private final String msg;

    ErrMsg(final String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}
